<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>TuringMachineDiagram: E:/Comp 2012.1/Teoria da Computação/Implementações/turing-machine-simulator-ufc-2012-1/src/diagrama/regra_diagrama.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">TuringMachineDiagram
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Permite a criação de diagramas de Máquinas de Turing.</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">E:/Comp 2012.1/Teoria da Computação/Implementações/turing-machine-simulator-ufc-2012-1/src/diagrama/regra_diagrama.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="regra__diagrama_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00011"></a>00011 <span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;map&gt;</span>
<a name="l00013"></a>00013 
<a name="l00014"></a><a class="code" href="class_regra_diagrama.html">00014</a> <span class="keyword">class </span><a class="code" href="class_regra_diagrama.html">RegraDiagrama</a>{
<a name="l00015"></a>00015 <span class="keyword">public</span>:
<a name="l00016"></a>00016         <a class="code" href="class_regra_diagrama.html#a28d31d030adb96336b46d6eae0775aba" title="Destrutor.">RegraDiagrama</a>(std::string &amp;simbolo, 
<a name="l00017"></a>00017                                         std::string &amp;modulo_final);             
<a name="l00018"></a>00018         <a class="code" href="class_regra_diagrama.html#a28d31d030adb96336b46d6eae0775aba" title="Destrutor.">RegraDiagrama</a>();                                                        
<a name="l00019"></a>00019         <span class="keywordtype">void</span> <a class="code" href="class_regra_diagrama.html#ae339901484448310d4f7f8367545aa3e" title="Insere uma nova regra.">inserir</a>(std::string simbolo, 
<a name="l00020"></a>00020                                         std::string modulo_final);              
<a name="l00021"></a>00021 
<a name="l00022"></a>00022         std::string <a class="code" href="class_regra_diagrama.html#ac0de74a6092f884436b76bd34514674b" title="Retorna o proximo modulo a ser executado.">pegar_prox_modulo</a>(std::string simbolo_atual);               
<a name="l00023"></a><a class="code" href="class_regra_diagrama.html#a41a0446c6bf7297a42a75f4b5b2b256f">00023</a>         std::map&lt;std::string, std::string&gt; <a class="code" href="class_regra_diagrama.html#a41a0446c6bf7297a42a75f4b5b2b256f" title="Hash, contendo o simbolo esperado na cabeca de leitura e o nome do proximo modulo.">m_regras</a>;                            
<a name="l00024"></a><a class="code" href="class_regra_diagrama.html#affc7f53df8dd312a9104534281c738b5">00024</a>         <span class="keywordtype">bool</span> <a class="code" href="class_regra_diagrama.html#affc7f53df8dd312a9104534281c738b5" title="Determina se essa regra eh do tipo que aceita qualquer simbolo na cabeca de leitura.">m_qualquer_simbolo</a>;                                                
<a name="l00025"></a>00025 };
</pre></div></div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Mon Mar 26 2012 21:04:44 for TuringMachineDiagram by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
